Use ::class to resolve class names in tests
[lhc/web/wiklou.git] / tests / phpunit / includes / objectcache / RedisBagOStuffTest.php
index ea58e4a..6e8c9ce 100644 (file)
@@ -14,7 +14,7 @@ class RedisBagOStuffTest extends PHPUnit_Framework_TestCase {
 
        protected function setUp() {
                parent::setUp();
-               $cache = $this->getMockBuilder( 'RedisBagOStuff' )
+               $cache = $this->getMockBuilder( RedisBagOStuff::class )
                        ->disableOriginalConstructor()
                        ->getMock();
                $this->cache = TestingAccessWrapper::newFromObject( $cache );